package com.easysoft.framework.dict.mapper;

import com.easysoft.framework.beans.Page;
import com.easysoft.framework.dict.model.SysDictionary;
import com.easysoft.framework.dict.model.SysDictionaryQuery;
import com.easysoft.framework.dict.model.SysDictionaryView;
import com.easysoft.framework.stereotype.MyBatisRepository;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by try on 2017/8/1.
 */
@MyBatisRepository("mapper.SysDictionaryMapperExtd")
public interface SysDictionaryMapperExtd  extends SysDictionaryMapper {

    List<SysDictionaryView> selectSysDictionaryListByPage(@Param("page") Page page, @Param("query") SysDictionaryQuery query);

    int selectSysDictionaryListCount(@Param("query") SysDictionaryQuery query);

    List<SysDictionaryView> selectSysDictionary();

    List<SysDictionaryView> selectSysDictionaryWithoutParent();
}


